#region "DatabaseExceptionProcessMode"

/*
 * ####     Developer Name : Wang Yucai
 * 
 * ####     Development Tool : Microsoft VisualStudio 2010 Ultimate Edition
 * 
 * ####     Create Time : 2014-07-15 10:44:55
 * 
 * ####     Namespace : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Data
 * 
 * ####     Type Name : DatabaseExceptionProcessMode
 * 
 * ####     Full Name : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Data.DatabaseExceptionProcessMode
 * 
 * ####     Machine Name : GLCHQWYCWINW7
 * 
 * ####     UserName : GUOCOLAND/wangyucai
 * 
 * ####     CLR Version : 4.0.30319.18444
 * 
 * ####     Target Framework Version : 4.0
 */

#endregion

using System;

namespace Masterduner.SourceStudio.Practices.DevelopmentLibrary.Data
{
    /// <summary>
    /// <para>Masterduner.SourceStudio.Practices.DevelopmentLibrary.Data.DatabaseExceptionProcessMode</para>
    /// <para>
    /// 定义了数据库异常处理方式。
    /// </para>
    /// </summary>
    /// <remarks>
    /// <para>Target Framework Version : 4.0</para>
    /// </remarks>
    [Serializable()]
    public enum DatabaseExceptionProcessMode
    {
        /// <summary>
        /// 仅捕获且抛出异常，不交由数据库事件处理。
        /// </summary>
        CatchAndThrow = 1,
        /// <summary>
        /// 仅捕获异常，并交由数据库事件处理。
        /// </summary>
        OnlyCatch = 2,
        /// <summary>
        /// 捕获异常后，先交由数据库事件处理，之后在抛出此异常。
        /// </summary>
        Default = 3
    }
}

#region README

/*
 * ####     ©2014 Wang Yucai
 * 
 * ####     Contact me
 *                  
 *                  E-mail : Masterduner@Yeah.net
 *                  Mobile : 13621384677
 *                  QQ : 180261899
 */

#endregion